/*
* Copyright (c) 2025 Huawei Device Co., Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including but not limited to the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to provide persons with access to the Software
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGE OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

.container {
  height: 100vh;
  display: flex;
  width: 100%;
  flex-direction: column;
  overflow-y: auto;
}

.tab-button {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-content {
  height: 100%;
  padding: 20px;
}

.item-container {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8px;
  box-sizing: border-box;
}

.top-left {
  position: absolute;
  top: 0px;
  left: 0px;
  font-size: 10px;
  width: 36px;
  height: 16px;
  color: #fff;
  z-index: 1;
  border-radius: 8px 0px;
  display: flex;
  background-color: #ED6F21;
  align-content: center;
  justify-content: center;
}

.bottom-right {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: #0000004D;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 1;
}

.item-content {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}

.common-text {
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  max-width: 100%;
  word-break: break-word;
  margin: 0;
  text-align: left;
}

.item-title {
  font-size: 14px;
  line-height: 21px;
}

.item-subtitle {
  font-size: 12px;
  line-height: 18px;
  opacity: 0.4;
}

.item {
  height: 72px;
  display: flex;
  align-items: center;
}

.banner {
  width: 100%;
  display: flex;
  flex-direction: row;
  height: 220;
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
}

.banner::-webkit-scrollbar {
  /* Chrome, Safari, Opera*/
  display: none;
}

.bottom-img {
  width: 24px;
  height: 24px;
}

.bottom-title-active {
  color: #fe8d00;
  font-size: 10px;
}

.bottom-title {
  color: #00000099;
  font-size: 10px;
}

.input {
  width: 236px;
  height: 40px;
  border: none;
  border-radius: 20px;
  background-color: white;
  padding: 0 15px;
}

.swiper-slide {
  margin-right: 10px;
  width: unset;
}

.entrances {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.entrances-image {
  width: 40px;
  height: 40px;
}

.entrances-text {
  color: #000000E6;
  font-size: 12px;
  line-height: 17px;
}

::v-deep .swiper-pagination-bullet {
  background: #686868;
  opacity: 1
}

::v-deep .swiper-pagination-bullet-active {
  background: #FFFFFF;
  /* 激活状态颜色 */
  width: 16px;
  border-radius: 4px;
}

.entrances-centent {
  margin: 20px 0;
}

.carousel-image {
  width: 100%;
}